package cron.core.loader;

import cron.task.plugin.Task;

/**
 * @author : willian fu
 * @version : 1.0
 * @date : 2021/3/1 0001 17:15
 */
public interface TaskLoader {

    Task[] loadTaskInstance(String ...clazz) throws ClassNotFoundException, IllegalAccessException, InstantiationException;

    Class<? extends Task>[] loadClazzs(String ...clazz) throws ClassNotFoundException;
}
